micro_utils.dokka
0.15.0
android
common
jvm
micro_utils.dokka
/
dev.inmo.micro_utils.common
/
[jvm]SimpleMapperImpl
Simple
Mapper
Impl
jvm
class
SimpleMapperImpl
<
T1
,
T2
>
(
t1
:
(
T2
)
->
T1
,
t2
:
(
T1
)
->
T2
)
:
SimpleMapper
<
T1
,
T2
>
Constructors
Functions
Extensions
Constructors
Simple
Mapper
Impl
Link copied to clipboard
jvm
fun
<
T1
,
T2
>
SimpleMapperImpl
(
t1
:
(
T2
)
->
T1
,
t2
:
(
T1
)
->
T2
)
Functions
convert
To
T1
Link copied to clipboard
jvm
open
override
fun
convertToT1
(
from
:
T2
)
:
T1
convert
To
T2
Link copied to clipboard
jvm
open
override
fun
convertToT2
(
from
:
T1
)
:
T2
Extensions
convert
Link copied to clipboard
android
common
jvm
@
JvmName
(
name
=
"convertFromT2"
)
fun
<
T1
,
T2
>
SimpleMapper
<
T1
,
T2
>
.
convert
(
from
:
T2
)
:
T1
@
JvmName
(
name
=
"convertFromT1"
)
fun
<
T1
,
T2
>
SimpleMapper
<
T1
,
T2
>
.
convert
(
from
:
T1
)
:
T2
@
JvmName
(
name
=
"convertFromT2"
)
fun
<
T1
,
T2
>
SimpleMapper
<
T1
,
T2
>
.
convert
(
from
:
T2
)
:
T1
@
JvmName
(
name
=
"convertFromT1"
)
fun
<
T1
,
T2
>
SimpleMapper
<
T1
,
T2
>
.
convert
(
from
:
T1
)
:
T2
@
JvmName
(
name
=
"convertFromT2"
)
fun
<
T1
,
T2
>
SimpleMapper
<
T1
,
T2
>
.
convert
(
from
:
T2
)
:
T1
@
JvmName
(
name
=
"convertFromT1"
)
fun
<
T1
,
T2
>
SimpleMapper
<
T1
,
T2
>
.
convert
(
from
:
T1
)
:
T2